﻿using _8Group.MES.IAppService.Warehouses.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace _8Group.MES.IAppService.Warehouses
{
    public interface IWarehouseAppService: IApplicationService
    {
        Task<int> AddWarehouse(CreateWarehouseDto input);
        Task<bool> UpdateWarehouse(UpdateWarehouseDto input);
        Task<bool> DeleteWarehouse(int id);
        Task<string> GetWarehouses(string? warehouseCode,string? warehouseName,int pageIndex = 1, int pageSize = 10);
    }
}
